package untiring.beans;

import java.util.List;

import org.apache.ibatis.session.SqlSession;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import untiring.interfaces.BoardDAO;
import untiring.interfaces.ZipcodeDAO;
import untiring.models.BoardVO;
import untiring.models.ZipcodeVO;

@Repository("zipcodeDAO")
public class ZipcodeDAOImpl implements ZipcodeDAO{
	
	@Autowired
	private SqlSession sqlSession;

	@Override
	public List<ZipcodeVO> selectZipcode(String dong) {
		return sqlSession.selectList("zipcodeMapper.zipcodeSQL",dong);
	}

	

}
